package com.observer;

/**
 * 报纸对象,具体的目标实现
 * Created by admin on 2017/1/22.
 */
public class NewsPaper extends Subject {

    //报纸的具体内容
    private String content;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
        //说明报纸更新了
        notifyObservers();
    }
}
